<script>

import Tree from "../edit/Tree";
import { objectAssign } from "../../utils/common";

/**
 * Tree 树组件的view组件
 *
 */
export default {
    extends: Tree,
    name: "PopoTreeView",
    mounted(){
      this.$refs.tree.filter("val");
      this.opt.showCheckbox = false;
    },
    created(){
      // this.disabledAll = true;
    },
    methods: {
      filterTree( value, data){
        return this.mvalue.findIndex( (item) => {
          return data[ this.opt.nodeKey] == item;
        }) !== -1;
      }
    }
};
</script>

<style  >
.el-icon-time-view-style{
    color: #C0C4CC;
}
</style>
